﻿@model CloudFranceTriple.Models.GameSet

@{
    ViewBag.Title = CloudFranceTriple.WebRole.Properties.Resources.GameEditTitle;
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="content-padding">
    <h1>@CloudFranceTriple.WebRole.Properties.Resources.GameEditTitle</h1>
    <p></p>
    <section>
        @using (Html.BeginForm())
        {
            @Html.AntiForgeryToken()
            @Html.ValidationSummary(true)

            <fieldset>
                <legend>@CloudFranceTriple.WebRole.Properties.Resources.GameEditTitle</legend>

                @Html.HiddenFor(model => model.Id)

                <div class="editor-label">
                    @CloudFranceTriple.WebRole.Properties.Resources.GameGroupName
                </div>
                <div class="editor-field">
                    @Html.DropDownList("GameGroupSet_Id", String.Empty)
                    @Html.ValidationMessageFor(model => model.GameGroupSet_Id)
                </div>

                <div class="editor-label">
                    @CloudFranceTriple.WebRole.Properties.Resources.GameOrder
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.OrderGame)
                    @Html.ValidationMessageFor(model => model.OrderGame)
                </div>

                <div class="editor-label">
                    @CloudFranceTriple.WebRole.Properties.Resources.PublisherName
                </div>
                <div class="editor-field">
                    @Html.DropDownList("Publisher_Id", String.Empty)
                    @Html.ValidationMessageFor(model => model.Publisher_Id)
                </div>

                <div class="editor-label">
                    @CloudFranceTriple.WebRole.Properties.Resources.GameName
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.NameGame)
                    @Html.ValidationMessageFor(model => model.NameGame)
                </div>

                <div class="editor-label">
                    @CloudFranceTriple.WebRole.Properties.Resources.GameNickname
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.NicknameGame)
                    @Html.ValidationMessageFor(model => model.NicknameGame)
                </div>

                <div class="editor-label">
                    @CloudFranceTriple.WebRole.Properties.Resources.GameOfficialWebSite
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.OfficialWebSiteGame)
                    @Html.ValidationMessageFor(model => model.OfficialWebSiteGame)
                </div>

                <div class="editor-label">
                    @CloudFranceTriple.WebRole.Properties.Resources.GameLogoUrl
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.LogoUrlGame)
                    @Html.ValidationMessageFor(model => model.LogoUrlGame)
                </div>

                <div class="editor-label">
                    @CloudFranceTriple.WebRole.Properties.Resources.GameDescription
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.DescriptionGame)
                    @Html.ValidationMessageFor(model => model.DescriptionGame)
                </div>

                <p>
                    <input type="submit" value="@CloudFranceTriple.WebRole.Properties.Resources.ButtonSave" />
                </p>
            </fieldset>
        }
    </section>
</div>
@Html.Partial("_GameBackToList")
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
